textview: fix yoffset position when top_margin is set
authorChristian Hergert <chergert@redhat.com>
Thu, 29 Jul 2021 23:45:04 +0000 (16:45 -0700)
committerChristian Hergert <chergert@redhat.com>
Thu, 29 Jul 2021 23:45:04 +0000 (16:45 -0700)
commit908b1e5e1214afc01440bc07a8d937222f411f38
tree143c2be50df2fc62607f6ca4a28be00a3a41114f
parentcc6ecc8b623a776e4c5e5c8001a02cf92ed5c5d9
textview: fix yoffset position when top_margin is set

This doesn't need to be included in the calculation or it will cause the
yoffset to continually shift while the window is resized.

Fixes #4134
gtk/gtktextview.c